package com.lucky.common.exception;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class AppException extends BaseException {
	
	public Logger log = LoggerFactory.getLogger(AppException.class);
	
	public String errCode = "999999";
	public String errMsg = "ERROR";
	
	public AppException() {
		
	}

	public AppException(Exception e) {
		
	}

	public AppException(String errMsg) {
		this.errMsg = errMsg;
	}
	
	public AppException(String errCode, String errMsg) {
		this.errCode = errCode;
		this.errMsg = errMsg;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}
	
	
}
